package com.ny.entity;

public class Order {
    private int order_id;
    private int student_id;
    private int product_id;
    private int number;
    private double total_price;

    public int getOrder_id() {
        return order_id;
    }

    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }

    public int getStudent_id() {
        return student_id;
    }

    public void setStudent_id(int student_id) {
        this.student_id = student_id;
    }

    public int getProduct_id() {
        return product_id;
    }

    public void setProduct_id(int product_id) {
        this.product_id = product_id;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public double getTotal_price() {
        return total_price;
    }

    public void setTotal_price(double total_price) {
        this.total_price = total_price;
    }

    @Override
    public String toString() {
        return "Order{" +
                "order_id=" + order_id +
                ", student_id=" + student_id +
                ", product_id=" + product_id +
                ", number=" + number +
                ", total_price=" + total_price +
                '}';
    }
}
